MPHB\Admin\Fields\VariablePricingField A

Total Complexity 53
Dependencies 2
Dependents 1
Total lines 376
Lines of code 260
Logical lines of code 183
Comment lines 25
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
renderPeriods()
A
42 8 49
sanitizeVariations()
S
57 4 17
sanitizePrices()
S
59 4 15
renderVariations()
S
49 3 28
sanitizePeriods()
S
61 4 13
sanitize()
S
57 3 16
getDependentRoomType()
S
64 4 9
generateTemplate()
S
55 2 17
generateVariation()
S
56 2 16
checkPricesCount()
S
64 3 9
sanitizeChildren()
S
64 2 9
sanitizeAdults()
S
64 2 9
sanitizeEnableVariations()
S
68 2 7
__construct()
S
69 1 6
renderChildren()
S
72 1 4
renderAdults()
S
72 1 4
getCtrlClasses()
S
79 1 3
renderPrice()
S
76 1 3
renderPeriod()
S
75 1 3
renderCheckbox()
S
63 1 9
renderInput()
S
67 1 8
setValue()
S
80 1 3
renderRestrictedPrice()
S
76 1 3